function del_cookie(name)
{
    document.cookie = name + '=; expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/;';
}

$(function()
{
	$("#Login").submit(function(event){
		event.preventDefault();
		var target = event.target;
		var action = "http://121.40.16.218.:7789//PCLive/Login?";
		var date = $(target).serialize();		
		var info = action+date+"&jsoncallback=?";
		$.getJSON(info, function(ret){
			if(ret.status == "success"){				
				location.href = "http://121.40.16.218:7789/PCLive.html";
			}
			else{
				$("#info").html(ret.status);
			}
		},"json")
	})
});